index_app.config(function ($routeProvider) {
	$routeProvider.when('/',{
            controller:'main',
            templateUrl:"main/content.html"
     }).when('/index',{
		controller:'main',
		templateUrl:"main/content.html"
	}).when('/comm_type_list',{
		controller:'comm_type_list',
		templateUrl:"system/commtype/comm_type_list.html"
	}).when('/comm_detailed_list',{
      		controller:'comm_detailed_list',
      		templateUrl:"system/commtypeDetailed/comm_detailed_list.html"
     }).when('/comm_detailed_edit/:key',{
               controller:'comm_detailed_edit',
               templateUrl:"system/commtypeDetailed/comm_detailed_edit.html"
     }).when('/inventory_details_list',{
             		controller:'inventory_details_list',
             		templateUrl:"system/inventoryDetails/inventory_details_list.html"
     }).when('/inventory_details_edit/:key/:isEdit',{
                      controller:'inventory_details_edit',
                      templateUrl:"system/inventoryDetails/inventory_details_edit.html"
     }).when('/inventory_settings_list',{
                    		controller:'inventory_settings_list',
                    		templateUrl:"system/inventorySettings/inventory_settings_list.html"
    }).when('/inventory_settings_edit/:key/:isEdit',{
                             controller:'inventory_settings_edit',
                             templateUrl:"system/inventorySettings/inventory_settings_edit.html"
    }).when('/saving_details_list',{
            controller:'saving_details_list',
            templateUrl:"system/savingDetail/saving_details_list.html"
    }).when('/member_info_list',{
          controller:'member_info_list',
         templateUrl:"system/memberInformation/member_info_list.html"
    }).when('/site_details_list',{
        controller:'site_details_list',
        templateUrl:"system/siteConsumptionDetails/site_details_list.html"
    }).when('/comm_consum_list',{
         controller:'comm_consum_list',
         templateUrl:"system/commodityConsumption/comm_consum_list.html"
    }).when('/member_management_edit/:key',{
         controller:'member_management_edit',
         templateUrl:"system/membermanagement/member_management_edit.html"
    }).when('/member_management_list',{
               controller:'member_management_list',
               templateUrl:"system/membermanagement/member_management_list.html"
    }).when('/stm_usr_edit',{
       controller:'stm_usr_edit',
       templateUrl:"system/stmUsr/stm_usr_edit.html"
     }).when('/sales',{
      controller:'sales',
              templateUrl:"system/sales/sales.html"
    }).when('/activity_list',{
            controller:'activity_list',
            templateUrl:"system/activity/activity_list.html"
     }).when('/member_recharge_edit',{
                controller:'member_recharge_edit',
                templateUrl:"system/membermanagement/member_recharge_edit.html"
         })
});